package com.fzj.example.design.state;

public class ConcreteStateA extends State {
    @Override
    void handle(Context context) {
        System.out.println("处理任务");
        //ConcreteStateB
        context.setState(new ConcreteStateB());
    }
}
